home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / misc_pto / mwpetz04 / sysmets.h < prev    next >
C/C++ Source or Header  |  1991-06-02  |  3KB  |  55 lines

  1. /* SYSMETS.H -- System Metrics display structure */
  2.  
  3. #define NUMLINES (sizeof sysmetrics / sizeof sysmetrics [0])
  4.  
  5. struct
  6.      {
  7.      int  nIndex ;
  8.      char *szLabel ;
  9.      char *szDesc ;
  10.      }
  11.      sysmetrics [] =
  12.      {
  13. #ifndef MEWEL
  14.      SM_CXSCREEN,      "SM_CXSCREEN",      "Screen width in pixels",
  15.      SM_CYSCREEN,      "SM_CYSCREEN",      "Screen height in pixels",
  16. #endif
  17.      SM_CXVSCROLL,     "SM_CXVSCROLL",     "Vertical scroll arrow width",
  18.      SM_CYHSCROLL,     "SM_CYHSCROLL",     "Horizontal scroll arrow height",
  19.      SM_CYCAPTION,     "SM_CYCAPTION",     "Caption bar height",
  20.      SM_CXBORDER,      "SM_CXBORDER",      "Border width",
  21.      SM_CYBORDER,      "SM_CYBORDER",      "Border height",
  22.      SM_CXDLGFRAME,    "SM_CXDLGFRAME",    "Dialog window frame width",
  23.      SM_CYDLGFRAME,    "SM_CYDLGFRAME",    "Dialog window frame height",
  24.      SM_CYVTHUMB,      "SM_CYVTHUMB",      "Vertical scroll thumb height",
  25.      SM_CXHTHUMB,      "SM_CXHTHUMB",      "Horizontal scroll thumb width",
  26.      SM_CXICON,        "SM_CXICON",        "Icon width",
  27.      SM_CYICON,        "SM_CYICON",        "Icon height",
  28.      SM_CXCURSOR,      "SM_CXCURSOR",      "Cursor width",
  29.      SM_CYCURSOR,      "SM_CYCURSOR",      "Cursor height",
  30.      SM_CYMENU,        "SM_CYMENU",        "Menu bar height",
  31. #ifndef MEWEL
  32.      SM_CXFULLSCREEN,  "SM_CXFULLSCREEN",  "Full screen client window width",
  33.      SM_CYFULLSCREEN,  "SM_CYFULLSCREEN",  "Full screen client window height",
  34.      SM_CYKANJIWINDOW, "SM_CYKANJIWINDOW", "Kanji window height",
  35.      SM_MOUSEPRESENT,  "SM_MOUSEPRESENT",  "Mouse present flag",
  36. #endif
  37.      SM_CYVSCROLL,     "SM_CYVSCROLL",     "Vertical scroll arrow height",
  38.      SM_CXHSCROLL,     "SM_CXHSCROLL",     "Horizontal scroll arrow width",
  39.      SM_DEBUG,         "SM_DEBUG",         "Debug version flag",
  40.      SM_SWAPBUTTON,    "SM_SWAPBUTTON",    "Mouse buttons swapped flag",
  41.      SM_RESERVED1,     "SM_RESERVED1",     "Reserved",
  42.      SM_RESERVED2,     "SM_RESERVED2",     "Reserved",
  43.      SM_RESERVED3,     "SM_RESERVED3",     "Reserved",
  44.      SM_RESERVED4,     "SM_RESERVED4",     "Reserved",
  45.      SM_CXMIN,         "SM_CXMIN",         "Minimum window width",
  46.      SM_CYMIN,         "SM_CYMIN",         "Minimum window height",
  47.      SM_CXSIZE,        "SM_CXSIZE",        "Minimize/Maximize icon width",
  48.      SM_CYSIZE,        "SM_CYSIZE",        "Minimize/Maximize icon height",
  49.      SM_CXFRAME,       "SM_CXFRAME",       "Window frame width",
  50.      SM_CYFRAME,       "SM_CYFRAME",       "Window frame height",
  51.      SM_CXMINTRACK,    "SM_CXMINTRACK",    "Minimum tracking width of window",
  52.      SM_CYMINTRACK,    "SM_CYMINTRACK",    "Maximum tracking width of window",
  53.      SM_CMETRICS,      "SM_CMETRICS",      "Number of system metrics"
  54.      } ;
  55.